<?php
  include_once('session.php');
  include_once('db.php');
  include_once('constants.php');
  $type = $_GET['type'];
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title><?php echo $product_name;?></title>
    <link rel="stylesheet" href="css/main.css" type="text/css">        
  </head>
  <body>    
    <div id="main">    
      <?php 
      include_once("header.php");      
      ?>    
    
      <div id="content">         
        <div id="contentcenter">               
        <h1>Download <?php echo $product_name;?> mobile application!</h1>
        <?php
          if ($type)
          {
            echo "<p>Activation sucessfull!</p>";
          }          
        ?>                
          <p>Now you just need the mobile aplication. You can get it <a href="downloads/<?php echo $product_download;?>.jar">here</a> or you can point your mobile browser to <?php echo $product_site;?>/downloads/<?php echo $product_download;?>.jad</p>
          <p>The OnMotion mobile application is built with J2ME, so it's compatible with any Java phone wich supports MIDP 2.0</p>
          <p>In order to share your location you need to have Bluetooth on your phone and BT GPS. Another option is your phone to have a internal GPS.</p>
          <p>After you install the application just insert your username and password and start finding new places, new friends and much more!</p>
          <p>You can start to see what other users are doing <a href="main.php">here</a>.</p>          
        </div>
      </div> <!-- content -->
    
    <?php include ("footer.php"); ?>
    </div><!-- main -->
    <?php         
        include ("ga.php");
    ?>
  </body>
</html>
